<!DOCTYPE html>
<head>
	<script type="text/javascript" src="js/jquery.min.js"></script>
	<script type="text/javascript">
		var polys = [];
			init();
			
			

		
		function init(num) {
			$("#poly").html(" ");
				$("path").each(function(i) {
				var path = this;
				polys.push(polygonSampledFromPath(path, num));
			});
			console.log(polys);
				$("#poly").append(polys);
				polys = [];
			}
			function polygonSampledFromPath(path, samples) {
				var doc = path.ownerDocument;
				var poly = doc.createElementNS('http://www.w3.org/2000/svg', 'polygon');

				var points = [];
				var len = path.getTotalLength();
				if(len > 1000.0)
					samples = 20;
				var step = step = len / samples;
				for(var i = 0; i <= len; i += step) {
					var p = path.getPointAtLength(i);
					points.push(p.x + ',' + p.y);
				}
				poly.setAttribute('points', points.join(' '));
				return poly;
			}

	</script>
</head>
<body>
	<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
	width="400.000000pt" height="400.000000pt" viewBox="0 0 400.000000 400.000000"
	preserveAspectRatio="xMidYMid meet">
		<metadata>
			Created by potrace 1.10, written by Peter Selinger 2001-2011
		</metadata>
		<g transform="translate(0.000000,400.000000) scale(0.100000,-0.100000)"
		fill="#000000" stroke="none">
			<path d="M0 3199 l0 -801 18 5 c18 5 655 277 1152 492 182 78 306 138 323 154
			l28 27 -15 428 c-9 236 -16 443 -16 462 l0 34 -745 0 -745 0 0 -801z"/>
			<path d="M1705 3918 c10 -140 16 -188 25 -188 18 0 21 24 14 145 l-7 125 -19
			0 -18 0 5 -82z"/>
			<path d="M1956 3878 c4 -68 8 -124 9 -126 1 -1 115 1 253 5 l250 6 56 114 c31
			63 56 116 56 119 0 2 -142 4 -316 4 l-315 0 7 -122z"/>
			<path d="M2663 3879 l-62 -120 42 6 c104 14 366 35 507 41 l155 7 177 78 c98
			43 190 85 205 93 l28 15 -495 0 -495 1 -62 -121z"/>
			<path d="M3743 3873 l-251 -115 12 -36 13 -37 109 2 c60 0 169 4 242 8 l132 7
			0 144 c0 79 -1 144 -2 143 -2 0 -116 -52 -255 -116z"/>
			<path d="M3355 3700 c-11 -4 -81 -10 -155 -14 -227 -11 -620 -50 -620 -61 0
			-8 32 -7 108 1 59 7 235 20 392 29 208 11 289 19 298 29 17 17 4 26 -23 16z"/>
			<path d="M2117 3633 l-149 -4 6 -67 c4 -37 22 -314 41 -617 19 -302 55 -869
			80 -1260 25 -390 45 -718 45 -727 l0 -18 90 0 c108 0 144 14 153 60 4 16 0 81
			-7 142 -25 196 3 268 129 331 28 14 58 34 68 45 31 34 31 148 3 497 -54 672
			-116 1483 -118 1550 l-3 70 -95 0 c-52 1 -162 -1 -243 -2z"/>
			<path d="M1724 3588 c3 -13 7 -102 11 -198 7 -204 42 -925 51 -1052 l6 -88 30
			0 30 0 -6 83 c-4 45 -22 323 -41 617 -44 686 -42 660 -66 660 -15 0 -18 -5
			-15 -22z"/>
			<path d="M3405 3549 c-446 -23 -813 -51 -820 -62 -1 -1 17 -243 41 -537 23
			-294 54 -688 68 -875 15 -187 33 -403 41 -480 8 -77 19 -205 26 -285 l11 -145
			-15 -35 c-30 -72 -202 -297 -311 -408 -85 -87 -127 -122 -178 -148 -37 -19
			-77 -34 -88 -34 -16 0 -20 -7 -20 -37 0 -47 29 -426 36 -470 l5 -33 57 0 57 0
			75 197 75 198 179 250 c98 137 318 459 489 715 171 256 421 627 555 825 183
			269 254 381 279 442 l33 83 0 435 0 435 -27 -1 c-16 -1 -271 -14 -568 -30z"/>
			<path d="M1265 2711 c-381 -165 -619 -271 -628 -280 -9 -9 333 -871 346 -871
			11 0 590 269 599 278 7 7 -38 911 -48 960 -2 12 -8 22 -12 21 -4 0 -119 -49
			-257 -108z"/>
			<path d="M366 2324 c-72 -30 -131 -56 -133 -58 -3 -3 405 -985 414 -995 2 -3
			61 23 131 56 83 39 126 65 124 74 -9 43 -389 979 -397 978 -5 0 -68 -25 -139
			-55z"/>
			<path d="M3768 2046 c-126 -184 -228 -339 -228 -344 0 -4 14 -15 32 -24 l32
			-15 24 29 c14 16 37 35 53 44 l29 14 87 -34 c58 -22 89 -30 92 -22 2 6 28 48
			58 94 l53 83 -2 255 -3 255 -227 -335z"/>
			<path d="M62 2195 c-29 -14 -51 -28 -49 -33 3 -4 62 -146 132 -316 81 -198
			124 -315 120 -327 -10 -31 -48 -51 -77 -40 -28 10 -45 45 -129 250 l-54 134
			-3 -409 -2 -409 43 -43 43 -43 272 18 c150 9 272 21 272 25 0 5 -13 34 -29 66
			-22 44 -450 1055 -480 1134 l-6 17 -53 -24z"/>
			<path d="M1800 2093 c0 -105 68 -1216 86 -1399 l5 -61 25 5 c13 2 24 5 24 6 0
			1 -18 321 -40 710 -22 389 -40 723 -40 742 l0 34 -30 0 -30 0 0 -37z"/>
			<path d="M1303 1568 l-282 -131 14 -34 c8 -19 99 -211 201 -428 l187 -395 26
			0 c40 1 212 18 216 22 2 2 -11 235 -30 518 -19 283 -35 530 -35 548 0 17 -3
			32 -7 32 -5 0 -135 -59 -290 -132z"/>
			<path d="M3690 1578 c-39 -45 -98 -49 -172 -10 l-56 30 -196 -294 c-108 -162
			-196 -298 -196 -303 0 -10 169 -146 174 -140 1 2 30 42 63 89 34 47 76 99 93
			115 18 17 86 90 152 163 66 72 125 132 132 132 7 0 35 7 63 15 l51 15 -29 29
			c-36 37 -37 74 -3 124 14 21 24 40 22 41 -12 11 -49 26 -60 25 -7 0 -24 -14
			-38 -31z"/>
			<path d="M3891 1511 l-11 -20 51 -27 c55 -28 69 -23 69 22 0 16 -8 23 -27 27
			-16 3 -38 8 -50 12 -16 5 -24 2 -32 -14z"/>
			<path d="M2595 1345 c-5 -2 -22 -6 -37 -9 -36 -8 -46 -46 -37 -140 4 -39 5
			-100 2 -136 l-5 -65 27 35 c14 19 43 66 62 105 l35 69 -5 59 c-5 57 -21 88
			-42 82z"/>
			<path d="M3830 1273 l-104 -34 -55 -62 c-31 -34 -92 -100 -136 -147 -74 -77
			-195 -232 -195 -250 0 -12 48 -52 58 -49 5 2 41 42 79 89 38 47 101 110 141
			140 89 69 238 149 317 171 l60 16 3 64 3 63 -23 18 c-29 22 -23 23 -148 -19z"/>
			<path d="M817 1209 l-117 -59 41 -83 c22 -45 96 -180 162 -300 l122 -218 109
			7 c59 3 119 9 131 13 l23 6 -163 345 c-90 190 -169 346 -177 347 -7 1 -66 -25
			-131 -58z"/>
			<path d="M3980 1013 c0 -5 5 -15 10 -23 8 -12 10 -11 10 8 0 12 -4 22 -10 22
			-5 0 -10 -3 -10 -7z"/>
			<path d="M3806 938 c-88 -46 -177 -121 -246 -208 -95 -120 -81 -136 25 -30
			l83 83 114 32 c62 18 113 36 112 41 -2 29 -30 104 -39 104 -5 -1 -28 -10 -49
			-22z"/>
			<path d="M2931 803 c-33 -48 -123 -176 -200 -283 l-140 -195 -57 -150 c-31
			-82 -59 -156 -61 -162 -4 -10 152 -13 761 -13 l766 0 0 265 c0 146 -3 265 -7
			265 -5 0 -51 -12 -103 -26 l-95 -26 -91 5 c-51 4 -107 2 -128 -4 -63 -17 -91
			-4 -200 98 -91 85 -355 303 -376 311 -5 2 -36 -36 -69 -85z"/>
			<path d="M463 860 c-127 -8 -234 -18 -238 -22 -10 -10 150 -133 232 -179 115
			-64 326 -125 402 -117 l28 3 -92 162 c-50 90 -93 164 -96 166 -2 1 -108 -4
			-236 -13z"/>
			<path d="M2150 800 c0 -17 3 -19 19 -10 32 16 34 30 7 30 -19 0 -26 -5 -26
			-20z"/>
			<path d="M2274 766 c-94 -47 -154 -104 -80 -76 27 10 156 98 156 106 0 7 -6 5
			-76 -30z"/>
			<path d="M3862 710 c-108 -29 -138 -41 -163 -67 l-31 -30 53 -7 c43 -5 77 0
			163 23 59 17 110 32 113 34 2 3 3 23 1 44 l-3 39 -133 -36z"/>
			<path d="M330 493 c0 -17 27 -46 33 -36 4 6 -2 18 -13 28 -11 10 -20 14 -20 8z"/>
			<path d="M1912 493 l-24 -5 6 -56 c3 -31 8 -141 12 -244 l6 -188 31 0 30 0 -7
			223 c-6 217 -12 278 -25 276 -3 -1 -17 -4 -29 -6z"/>
			<path d="M25 270 c-24 -6 -17 -8 33 -9 40 -1 61 3 57 9 -7 11 -46 11 -90 0z"/>
			<path d="M1410 180 c-58 -9 -229 -27 -380 -40 -151 -12 -277 -24 -278 -25 -2
			-2 3 -29 12 -59 l17 -56 414 0 414 0 6 42 c4 24 5 68 3 98 l-3 55 -50 2 c-27
			0 -97 -7 -155 -17z"/>
			<path d="M502 140 c0 -14 2 -19 5 -12 2 6 2 18 0 25 -3 6 -5 1 -5 -13z"/>
			<path d="M257 127 c-2 -6 -17 -11 -33 -9 -22 1 -25 -1 -14 -8 23 -15 -1 -11
			-29 4 -21 12 -27 12 -39 0 -15 -16 -69 -18 -91 -5 -7 5 -22 6 -32 4 -16 -4
			-19 -15 -19 -59 l0 -54 225 0 226 0 -10 19 c-6 10 -24 21 -42 25 l-31 6 4 24
			c6 28 -7 36 -44 29 -18 -3 -33 2 -46 15 -13 13 -22 17 -25 9z"/>
			<path d="M93 113 c9 -2 23 -2 30 0 6 3 -1 5 -18 5 -16 0 -22 -2 -12 -5z"/>
			<path d="M574 102 c-8 -5 0 -23 23 -57 35 -50 36 -44 10 33 -12 34 -15 36 -33
			24z"/>
			<path d="M387 83 c-4 -6 0 -16 8 -23 21 -17 28 -8 11 15 -8 11 -15 14 -19 8z"/>
		</g>
	</svg>
	<svg preserveAspectRatio="xMidYMid meet" viewBox="0 0 400.000000 400.000000" height="400.000000pt" width="400.000000pt" xmlns="http://www.w3.org/2000/svg" version="1.0">
		<metadata>
			Created by potrace 1.10, written by Peter Selinger 2001-2011
		</metadata>
		<g id="poly" stroke="none" fill="#000000" transform="translate(0.000000,400.000000) scale(0.100000,-0.100000)">
			<polygon points="387,83 387,83">
		</g>
	</svg>
</body>
</html>